import Vue from 'vue';
import Element from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import App from './App.vue';
import store from './store'
import router from './router';
import "swiper/swiper.min.css"
import BaiduMap from "vue-baidu-map"

Vue.config.productionTip = false;
router.afterEach(to => {
  document.title = to.meta.title;
})
Vue.use(Element).use(BaiduMap, { ak: "7f2bfc6f4602138bc556be07949ef1ee" });

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
